package com.mikao.dao;

import com.mikao.entity.MoneyDetail;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface WithdrawDao extends JpaRepository<MoneyDetail, Long>, JpaSpecificationExecutor {

    List<MoneyDetail> findAllByIntroduceAndTypeOrderByCreateTimeDesc(String introduce, Integer type);
}
